package cn.may.mybatisplus.service.serviceimpl;

import cn.may.entity.Student;
import cn.may.mybatisplus.repository.StudentDao;
import cn.may.mybatisplus.service.StudentService;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.function.Function;

/**
 * @author May
 * @date 2020/10/31 14:15
 * @desc
 */
@Service
public class StudentServiceImpl extends ServiceImpl<StudentDao, Student> implements StudentService{
    @Autowired
    StudentDao studentDao;
    @Override
    public void save(List<Student> students) {
        studentDao.save(students);
    }
}
